// 选择省市区
const state = {
    provinceIdThree: "", //省ID
    cityIdThree: "", //市Id
    areaIdThree: "" //区Id
};

const mutations = {
    // 获取省的ID
    getProvinceIdThree(state, value) {
        state.provinceIdThree = value;
    },
    // 获取市的ID
    getCityIdThree(state, value) {
        state.cityIdThree = value;
    },
    // 获取区的ID
    getAreaIdThree(state, value) {
        state.areaIdThree = value;
    },

    // 清空省和市以及区的的ID
    cleanAreaThree(state, value) {
        state.provinceIdThree = "";
        state.cityIdThree = "";
        state.areaIdThree = "";
    }
};

const actions = {};

export default {
    state,
    mutations,
    actions
};
